package com.ai.common.constant.enumP;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 摄像头检测状态
 * @Author jiaok
 * @Date 2024-08-16 14:29
 */

public enum CameraDetectStatus {

    /**
     * 在线
     */
    ON_LINE(1,"在线"),
    /**
     * 离线
     */
    OFFLINE(0,"离线"),
    /**
     * 未检测
     */
    NOT_DETECTED(-1,"未检测")
            ;

    private final Integer code;

    private final String message;

    CameraDetectStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }




}
